package com.open4cn.simulator.core.device;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author yinxiaopeng
 * @version 1.0.0
 * @company 致景科技
 * @department 飞梭BU/研发
 * @description
 * @Email yinxiaopeng@zj.tech
 * @date 2022-05-15 02:40
 */
public class DefaultDeviceStatusRepository implements IDeviceStatusRepository {
    private Logger logger = LoggerFactory.getLogger(this.getClass());

    @Override
    public boolean save(DeviceStatusDO deviceStatusDO) {
        logger.info("{}设备的状态{}打印日志持久化", deviceStatusDO.getDeviceId(), deviceStatusDO);
        return true;
    }

    @Override
    public DeviceStatusDO get(String deviceId) {
        return null;
    }
}
